package com.gengine.game.core
{
	import flash.display.*;
	
	public class GameSprite extends Sprite
	{
		public var isDispose:Boolean = false;
		public var isHoverTest:Boolean = false;
		public var index:int;
		
		public function GameSprite()
		{
			this.mouseEnabled = false;
			this.mouseChildren = false;
			this.tabChildren = false;
			
		}
		
		public function removeToStage() : void
		{
			if (this.parent)
			{
				this.parent.removeChild(this);
			}
			
		}
		
		public function dispose(param1:Boolean = true) : void
		{
			this.removeToStage();
			
		}
		
		public function hoverTest() : Boolean
		{
			return false;
		}
		
		public function onMouseOver() : void
		{
			
		}
		
		public function onMouseOut() : void
		{
			
		}
		
	}
}
